package com.caojing.haolemai.ui.outlets.outletsdetail;

import com.caojing.haolemai.base.IBaseModel;
import com.caojing.haolemai.base.IBasePresenter;
import com.caojing.haolemai.base.IBaseView;
import com.caojing.haolemai.bean.outletsdetailsbean.OutletsDeatailsBean;

import java.util.Map;

import retrofit2.Callback;

/**
 * Created by Administrator on 2016/10/20 0020.
 * 这里是限时特卖的详情页面的内容；
 */
public class OutletsDetailContract {

public interface View extends IBaseView{
    //这里是限时特卖的详情页面的view
    void onGetDetailBeanSucess(OutletsDeatailsBean outletsDeatailsBean);
    void onGetDetailBeanFail(String erro);
}


    //这里是限时特卖的详情页面的model
    public interface Model extends IBaseModel{
        void getResultsBean(String id, String pager, Map<String,String>params, Callback<OutletsDeatailsBean>callback);
    }


    //这里是限时特卖的详情页面的presenter
    public interface Presenter extends IBasePresenter{
        void getVertical(String id,String pager,Map<String,String>params);
    }

}
